package com.ganwei.mybatisplus.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ganwei.mybatisplus.system.pojo.Product;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ganwei
 * @since 2020-10-08
 */
public interface IProductService extends IService<Product> {

    Page<Product> pageProduct(Integer pageNum, Integer pageSize,String searchName);

    int updateProduct(Product product);
}
